﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009B3 RID: 2483
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JLNEFOKFNAP : IMessage<JLNEFOKFNAP>, IMessage, IEquatable<JLNEFOKFNAP>, IDeepCloneable<JLNEFOKFNAP>, IBufferMessage
	{
		// Token: 0x17001F6C RID: 8044
		// (get) Token: 0x06006F5B RID: 28507 RVA: 0x0012A420 File Offset: 0x00128620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JLNEFOKFNAP> Parser
		{
			get
			{
				return JLNEFOKFNAP._parser;
			}
		}

		// Token: 0x17001F6D RID: 8045
		// (get) Token: 0x06006F5C RID: 28508 RVA: 0x0012A427 File Offset: 0x00128627
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JLNEFOKFNAPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F6E RID: 8046
		// (get) Token: 0x06006F5D RID: 28509 RVA: 0x0012A439 File Offset: 0x00128639
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JLNEFOKFNAP.Descriptor;
			}
		}

		// Token: 0x06006F5E RID: 28510 RVA: 0x0012A440 File Offset: 0x00128640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLNEFOKFNAP()
		{
		}

		// Token: 0x06006F5F RID: 28511 RVA: 0x0012A448 File Offset: 0x00128648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLNEFOKFNAP(JLNEFOKFNAP other) : this()
		{
			this.dialogueId_ = other.dialogueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006F60 RID: 28512 RVA: 0x0012A46D File Offset: 0x0012866D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLNEFOKFNAP Clone()
		{
			return new JLNEFOKFNAP(this);
		}

		// Token: 0x17001F6F RID: 8047
		// (get) Token: 0x06006F61 RID: 28513 RVA: 0x0012A475 File Offset: 0x00128675
		// (set) Token: 0x06006F62 RID: 28514 RVA: 0x0012A47D File Offset: 0x0012867D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueId
		{
			get
			{
				return this.dialogueId_;
			}
			set
			{
				this.dialogueId_ = value;
			}
		}

		// Token: 0x06006F63 RID: 28515 RVA: 0x0012A486 File Offset: 0x00128686
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JLNEFOKFNAP);
		}

		// Token: 0x06006F64 RID: 28516 RVA: 0x0012A494 File Offset: 0x00128694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JLNEFOKFNAP other)
		{
			return other != null && (other == this || (this.DialogueId == other.DialogueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006F65 RID: 28517 RVA: 0x0012A4C4 File Offset: 0x001286C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DialogueId != 0U)
			{
				num ^= this.DialogueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006F66 RID: 28518 RVA: 0x0012A503 File Offset: 0x00128703
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006F67 RID: 28519 RVA: 0x0012A50B File Offset: 0x0012870B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006F68 RID: 28520 RVA: 0x0012A514 File Offset: 0x00128714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DialogueId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006F69 RID: 28521 RVA: 0x0012A548 File Offset: 0x00128748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006F6A RID: 28522 RVA: 0x0012A586 File Offset: 0x00128786
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JLNEFOKFNAP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DialogueId != 0U)
			{
				this.DialogueId = other.DialogueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006F6B RID: 28523 RVA: 0x0012A5B7 File Offset: 0x001287B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006F6C RID: 28524 RVA: 0x0012A5C0 File Offset: 0x001287C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002A77 RID: 10871
		private static readonly MessageParser<JLNEFOKFNAP> _parser = new MessageParser<JLNEFOKFNAP>(() => new JLNEFOKFNAP());

		// Token: 0x04002A78 RID: 10872
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A79 RID: 10873
		public const int DialogueIdFieldNumber = 11;

		// Token: 0x04002A7A RID: 10874
		private uint dialogueId_;
	}
}
